import JJNetworkHelper from './JJNetworkHelper.js';

export default class JJBasePresenter {

    jj_getNetworkState(callBack) {
        JJNetworkHelper.jj_getNetworkState((result) => {
            callBack(result);
        });
    }

    jj_monitorNetworkStatusChange(callBack) {
        JJNetworkHelper.jj_monitorNetworkStatusChange((result) => {
            callBack(result);
        });
    }
}
